<?php
get_header();
?>
<style type="text/css" media="screen">
	

</style>
</head>
<body>
<div id="header">
<h1>
   <span><?php bloginfo('name'); ?><br /> 
   <em><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('description'); ?></a></em>
   </span>
</h1>
<ul id="nav">
	  <li class="page_item"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
	  <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>
</ul>
</div>
<div id="content">
<div id="main" >
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!--post -->
  <div class="post" id="post-<?php the_ID(); ?>"> 
  <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>  				
        <div class="storycontent">
	    <?php the_content(__('(more...)')); ?>
		<?php if (the_tags()) : ?>
		<p>Tags: <?php the_tags('', ', ', ''); ?></p>
		<?php endif; ?>
        </div> 
  </div>
<!--post -->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>

      <div class="nextcontent">
<?php posts_nav_link(' &nbsp;&nbsp;&nbsp; ', __('&lt;&lt; Previous Page'), __('Next Page &gt;&gt;')); ?>
      </div>
 </div>   
<div class="menu">
     <ul>	
	 <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
	 </ul> 
</div>
</div> 

<!-- closing main div -->
<?php get_footer(); ?>
        

